﻿
@{
    ViewBag.Title = "编辑课程";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<style>
    .red{color:red;}
</style>
<div id="divContainer" class="container">
    <form class="form-horizontal" role="form">
        <input type="hidden"  id="Id" value="" />
        @*题目&讲师*@
        <div class="row">
            <div class="form-group">
                <label for="Title" class="col-sm-1 control-label red">题目</label>
                <div class="col-sm-5">
                    <input type="text" class="form-control" id="Title" placeholder="课程题目" required="required">
                </div>
                <label for="Author" class="col-sm-1 control-label red">讲师</label>
                <div class="col-sm-2">
                    <input type="text" class="form-control " id="Author" placeholder="" required="required">
                </div>
                <label for="Pwd" class="col-sm-1 control-label red">密码</label>
                <div class="col-sm-2">
                    <input type="password" class="form-control" id="Pwd" placeholder="极重要" required="required">
                </div>
            </div>
        </div>
        @*开始时间，课时、地点*@
        <div class="row">
            <div class="form-group">
                <label for="Kssj" class="col-sm-1 control-label">日期</label>
                <div class="col-sm-2">
                    <input type="text" class="form-control" id="Kssj" placeholder="">
                </div>
                <label for="Yjsc" class="col-sm-1 control-label">课时</label>
                <div class="col-sm-2">
                    <input type="text" class="form-control" id="Yjsc" placeholder="小时">
                </div>
                <label for="Skdd" class="col-sm-1 control-label">地点</label>
                <div class="col-sm-5">
                    <input type="text" class="form-control" id="Skdd" placeholder="">
                </div>
            </div>
        </div>

        @*摘要*@
        <div class="row">
            <div class="form-group">
                <label for="Abstract" class="col-sm-1 control-label">摘要</label>
                <div class="col-sm-11">
                    <textarea id="Abstract" class="form-control" rows="3"></textarea>
                </div>
            </div>
        </div>
        <hr />
        <div class="row">
            <div class="form-group">
                <label class="col-sm-1 control-label">正文</label>
                <script id="editor" class="col-sm-11" name="content" type="text/plain">
                </script>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-offset-5 col-sm-1">
                <button  id="btnSave" class="btn btn-default">保存</button>
            </div>
        </div>
    </form>
</div>




@section scripts{
<link href="~/Scripts/datetimepicker-master/build/jquery.datetimepicker.min.css" rel="stylesheet" />
<script src="~/Scripts/datetimepicker-master/build/jquery.datetimepicker.full.min.js"></script>
<script src="~/Scripts/UEditor/ueditor.config.js"></script>
<script src="~/Scripts/UEditor/ueditor.all.min.js"></script>
<script src="~/Scripts/UEditor/lang/zh-cn/zh-cn.js"></script>

    <script src="~/AppTS/CourseAdd.js"></script>
}